/*
 * LookingGlassCallAst.h
 *
 *  Created on: 19 Nov 2010
 *      Author: kn308
 */

#ifndef LOOKINGGLASSCALLAST_H_
#define LOOKINGGLASSCALLAST_H_

#include <MAlice/Ast/VariableAst.h>
#include <MAlice/Ast/ExpressionAst.h>

namespace MAlice
{

class LookingGlassCallAst: public MAlice::ExpressionAst
{
private:
	string       mName;
	VariableAst* mVariable;

public:
	static const string MANGLING;

	LookingGlassCallAst(const string& name, VariableAst* var);
	virtual ~LookingGlassCallAst();
	virtual llvm::Value* generate();
};

}

#endif /* LOOKINGGLASSCALLAST_H_ */
